/*
 * @ClassName common_widget.dart
 * @Description 公共的widget
 * @Author SuPeiSen
 * @Date 2020/7/22 12:25
 */

import 'package:flutter/material.dart';
import 'package:flutter_su/common/fun.dart';

mixin CommonTestWidget{

  Widget title(String title) {
    return Container(
      padding: EdgeInsets.all(10),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.center,
        mainAxisSize: MainAxisSize.min,
        children: <Widget>[
          Text(
            title,
            style: SFunCommon.fontStyle(
              Colors.blue,
              fontSize: 30,
            ),
          ),
        ],
      ),
    );
  }
}